package com.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.entity.AddressBook;

import java.util.List;

/**
 * <p>
 * 地址管理 服务类
 * </p>
 *
 * @author xiaoduan
 * @since 2024-09-24
 */
public interface IAddressBookService extends IService<AddressBook> {

    List<AddressBook> listByUserId(Long userId);

    boolean updateDefault(Long id, Long userId);

}
